package com.itheima.wms.mapper;

import com.github.pagehelper.Page;
import com.itheima.wms.controller.dto.GoodsPageDto;
import com.itheima.wms.pojo.Goods;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface GoodsMapper {
    public Page<Goods> goodsPage(GoodsPageDto goodsPageDto);

    void insert(Goods goods);

    int delete(Long id);

    Goods getgoodById(Long id);

    void update(Goods goods);
}
